package com.vishnu.core.innerclasspractice;

public class Outer {
// Accessing Inner class from static area of outer class
	public class Inner{
		public void m1(){
			System.out.println("we are present in m1() method of Inner class...........");
		}
	}
	
	
	public static void main(String[] args) {
Outer outer=new Outer();
/*Outer.Inner o=outer.new Inner();
System.out.println("class name:"+o.getClass());

o.m1();*/
		
		
/*		Outer.Inner i=new Outer().new Inner();
	     i.m1();*/
		
//		Outer.Inner i=new Outer().new Inner();
		
//		new Outer().new Inner().m1();
//		Outer.Inner inner=new Inner();
		
		
	}
	
}
